//implement ACEThreadMutexImpl
//andycai_sc 2011-05-12

#include "GParallel/GAce/ACEThreadMutexImpl.h"

ACEThreadMutexImpl::ACEThreadMutexImpl()
{
}

ACEThreadMutexImpl::~ACEThreadMutexImpl()
{
}

void ACEThreadMutexImpl::lockImpl()
{
    m_mutex.lock();
}

void ACEThreadMutexImpl::unlockImpl()
{
    m_mutex.release();
}

GMutexImpl* createMutexFromAce()
{
	return new ACEThreadMutexImpl();
}
